package com.hzh.starter.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 配置类
 *
 * @author hzh
 * @date 2024-04-23 09:39
 **/
@ConfigurationProperties(prefix = MyProperties.PREFIX)
public class MyProperties {
    public static final String PREFIX = "yhz";
    private Long workId;

    public Long getWorkId() {
        return workId;
    }

    public void setWorkId(Long workId) {
        this.workId = workId;
    }
}
